<h2>Checks Summary</h2>
<h2><?php echo $owner->getListName()?></h2>
<h3>From <?php echo date('m/d/Y',strtotime($from_date_str))?> To <?php echo date('m/d/Y',strtotime($to_date_str))?></h3>
<?php $total = 0?>
<table class="datagrid">
  <thead class="datagrid">
    <tr>
      <th>Customer</th>
      <th>Check#</th>
      <th>Check Date</th>
      <th>Amount</th>
    </tr>
  </thead>
  <tbody class="datagrid" style="height:auto;">
    <?php foreach($paymentCheckss as $paymentChecks):?>
    <tr>
      <td><?php echo $paymentChecks->getContact()->getListName()?></td>
      <td><?php echo $paymentChecks->getCheckId()?></td>
      <td><?php echo $paymentChecks->getCheckDate()?></td>
      <td style="text-align:right;"><?php echo number_format($paymentChecks->getCheckAmount(),2)?></td>
    </tr>
    <?php $total+=$paymentChecks->getCheckAmount()?>
    <?php endforeach;?>
  </tbody>
  <tfoot class="datagrid">
    <tr>
      <td colspan="3">Total</td>
      <td style="text-align:right;"><?php echo number_format($total,2)?></td>
    </tr>
  </tfoot>
</table>
